import 'package:flutter_demo/helper/log_helper.dart';
import 'package:get/get.dart';

class CounterGetLogic extends GetxController {
  var count = 0.obs;

  void increment() => count++;

  @override
  void onInit() {
    super.onInit();
    LogHelper.e("页面: onInit");
  }

  @override
  void onReady() {
    super.onReady();
    LogHelper.e("页面: onReady");
  }

  @override
  void onClose() {
    // TODO: implement onClose
    super.onClose();
    LogHelper.e("页面: onClose");
  }
}
